/**#include<stdio.h>
#include<string.h>
#include<assert.h>

void* my_memcpy(void* p,const void* pa, size_t num)
{
	assert(p && pa);
	void* m = p;
	for (int j= 0;j < num;j++)
	{
		*(char*)p = *(char*)pa;
		p = (char*)p+1;
		pa = (char*)pa+1;
	}
	return m;
}
int main()
{
	int i = 0;
	int arr[] = { 1,2,3,4,5,6,7,8,9 };
	int arr1[20] = { 0 };
	my_memcpy(arr1, arr + 2, 5 * sizeof(int));
	for (i = 0;i <=10;i++)
	{
		printf("%d  ", arr1[i]);
	}
	return 0;
}/**/